-- GENERATED SPELL FOR [Oracle Soo-nee] --


function spell0_29006(pUnit, Event) --@Earth Shock,n/a--
pUnit:FullCastSpellOnTarget(54511,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29006', 2289, 1)
end

function Sorts_29006(pUnit, Event)
local choix_sorts_29006 = math.random(0, 0)
if choix_sorts_29006 == 0 then
pUnit:RegisterEvent('spell0_29006', 1, 1)
end
end

function mob29006_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29006', math.random(1500, 3000), 1)
end

function mob29006_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29006_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29006_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29006, 1, 'mob29006_Action')
RegisterUnitEvent(29006, 2, 'mob29006_Leave')
RegisterUnitEvent(29006, 3, 'mob29006_Kill')
RegisterUnitEvent(29006, 4, 'mob29006_Die')
